// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3)
// Source File Name:   CtaisSend.java

package com.eies.workflow.server.adp.app.bo;

//import java.io.PrintStream;//2005-04-07 wangfm
import com.eies.workflow.adp.WorkflowListener;

import ctais.services.log.*;//2005-04-07 wangfm

public class CtaisSend
{

    public CtaisSend()
    {
    }

    public void sendMsg(String msg)
        throws Exception
    {
        try
        {
            WorkflowListener listener = new WorkflowListener();
            listener.SendMsg(msg);
//            System.out.println("Workflow Server send message to CTAIS successful.");//2005-04-07 wangfm
            LogManager.getLogger().debug("Workflow Server send message to CTAIS successful.");//2005-04-07 wangfm
        }
        catch(Exception e)
        {
//            System.out.println("ERROR:Workflow Server send message to CTAIS failed!");//2005-04-07 wangfm
            LogManager.getLogger().error("ERROR:Workflow Server send message to CTAIS failed!");//2005-04-07 wangfm
            e.printStackTrace();
            throw e;
        }
    }

    public static final String CTAIS_LISTENER = "ctais.workflowlistener";
}
